package cn.angleline.cloudhub.easbi.eas.entity

import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_BC_DAILYLOANBILL")
data class TBcDailyLoanBill(
        @Id
        @Column(name = "FID")
        val fid: String? = null,

        @Column(name = "FCREATORID")
        val fcreatorid: String? = null,

        @Column(name = "FCREATETIME")
        val fcreatetime: Timestamp? = null,

        @Column(name = "FLASTUPDATEUSERID")
        val flastupdateuserid: String? = null,

        @Column(name = "FLASTUPDATETIME")
        val flastupdatetime: Timestamp? = null,

        @Column(name = "FCONTROLUNITID")
        val fcontrolunitid: String? = null,

        @Column(name = "FNUMBER")
        val fnumber: String? = null,

        @Column(name = "FBIZDATE")
        val fbizdate: Timestamp? = null,

        @Column(name = "FHANDLERID")
        val fhandlerid: String? = null,

        @Column(name = "FDESCRIPTION")
        val fdescription: String? = null,

        @Column(name = "FHASEFFECTED")
        val fhaseffected: Int? = null,

        @Column(name = "FAUDITORID")
        val fauditorid: String? = null,

        @Column(name = "FSOURCEBILLID")
        val fsourcebillid: String? = null,

        @Column(name = "FSOURCEFUNCTION")
        val fsourcefunction: String? = null,

        @Column(name = "FNAME")
        val fname: String? = null,

        @Column(name = "FAPPLIERID")
        val fapplierid: String? = null,

        @Column(name = "FPOSITIONID")
        val fpositionid: String? = null,

        @Column(name = "FTEL")
        val ftel: String? = null,

        @Column(name = "FORGUNITID")
        val forgunitid: String? = null,

        @Column(name = "FBIZREQDATE")
        val fbizreqdate: Timestamp? = null,

        @Column(name = "FCAUSE")
        val fcause: String? = null,

        @Column(name = "FPRIOR")
        val fprior: Int? = null,

        @Column(name = "FSTATE")
        val fstate: Int? = null,

        @Column(name = "FAUDITDATE")
        val fauditdate: Timestamp? = null,

        @Column(name = "FBILLDATE")
        val fbilldate: Timestamp? = null,

        @Column(name = "FBILLERID")
        val fbillerid: String? = null,

        @Column(name = "FBILLTYPECODE")
        val fbilltypecode: Int? = null,

        @Column(name = "FCOSTEDDEPTID")
        val fcosteddeptid: String? = null,

        @Column(name = "FCOMPANYID")
        val fcompanyid: String? = null,

        @Column(name = "FSUPPORTEDOBJID")
        val fsupportedobjid: String? = null,

        @Column(name = "FCURRENCYID")
        val fcurrencyid: String? = null,

        @Column(name = "FEXPENSETYPEID")
        val fexpensetypeid: String? = null,

        @Column(name = "FAMOUNT")
        val famount: Long? = null,

        @Column(name = "FAMOUNTAPPROVED")
        val famountapproved: Long? = null,

        @Column(name = "FAMOUNTSENDEDBACK")
        val famountsendedback: Long? = null,

        @Column(name = "FACCOUNTCREDITEDID")
        val faccountcreditedid: String? = null,

        @Column(name = "FACCOUNTDEBITEDID")
        val faccountdebitedid: String? = null,

        @Column(name = "FFORESEEDATE")
        val fforeseedate: Timestamp? = null,

        @Column(name = "FPAYMENT")
        val fpayment: String? = null,

        @Column(name = "FLOANSTATE")
        val floanstate: String? = null,

        @Column(name = "FRETURNDATE")
        val freturndate: Timestamp? = null,

        @Column(name = "FRETURNAMOUNT")
        val freturnamount: Long? = null,

        @Column(name = "FLOANTYPE")
        val floantype: Int? = null,

        @Column(name = "FBUDGETAMOUNT")
        val fbudgetamount: Long? = null,

        @Column(name = "FAMOUNTCOPY")
        val famountcopy: Long? = null,

        @Column(name = "FAMOUNTUSED")
        val famountused: Long? = null,

        @Column(name = "FAMOUNTBALANCE")
        val famountbalance: Long? = null,

        @Column(name = "FFIVOUCHERED")
        val ffivouchered: Int? = null,

        @Column(name = "FAMOUNTCONTROLTYPE")
        val famountcontroltype: Int? = null,

        @Column(name = "FAPPLIERCOMPANYID")
        val fappliercompanyid: String? = null,

        @Column(name = "FOPERATIONTYPEID")
        val foperationtypeid: String? = null,

        @Column(name = "FBUDGETDO")
        val fbudgetdo: Long? = null,

        @Column(name = "FSOURCEBILLTYPE")
        val fsourcebilltype: Int? = null,

        @Column(name = "FACTIONFLAG")
        val factionflag: String? = null,

        @Column(name = "FPAYERNAME")
        val fpayername: String? = null,

//        @Column(name = "FOPENAREA")
//        val fopenarea: String? = null,

        @Column(name = "FPAYERBANK")
        val fpayerbank: String? = null,

        @Column(name = "FPAYERACCOUNT")
        val fpayeraccount: String? = null,

        @Column(name = "FTRAVELTYPEID")
        val ftraveltypeid: String? = null,

        @Column(name = "FAMOUNTSTRIKED")
        val famountstriked: Long? = null,

        @Column(name = "FAMOUNTPAID")
        val famountpaid: Long? = null,

        @Column(name = "FAMOUNTNOTPAID")
        val famountnotpaid: Long? = null,

        @Column(name = "FIMAGESTATE")
        val fimagestate: Int? = null,


        @Column(name = "FIMAGENO")
        val fimageno: String? = null,

        @Column(name = "FPOSTADDRESS")
        val fpostaddress: String? = null,

        @Column(name = "FISREFPAPERPARK")
        val fisrefpaperpark: Int? = null,

        @Column(name = "FOPENAREA")
        val fopenarea: String? = null,

        @Column(name = "FCOLLECTIONACCOUNT")
        val fcollectionaccount: String? = null,

        @Column(name = "FPAYERBANKSTR")
        val fpayerbankstr: String? = null


)